import { TplDatasetListReqVO } from '@/api/contract/dataset'
export interface DirData {
  id: number // ID,示例值(25801)，数据类型为 integer(int64)
  type: number // 目录类型 1: 模板分组 2: 数据集分组,示例值(1)，数据类型为 integer(int32)
  name: string // 目录名称,示例值(王五)，数据类型为 string
  tplId: number // 模板id,示例值(7725)，数据类型为 integer(int64)
  data:TplDatasetListReqVO[]
}

export interface DatasetColumns {
  className?: string
  columnName?: string
  dataType?: string
  name?: string
  remark?: string
  width?: string
}

export interface ParamTableData {
  tableData: ParamTableDataRow[] // 表格行数据（数组类型）
  tablePage?: any
}
export interface ParamTableDataRow {
  paramName?: string
  paramCode?: string
  paramType?: string
  dateFormat?: string
  paramDefault?: string
  paramRequired?: string
  selectType?: string
  selectContent?: string
  isRelyOnParams?: string
  relyOnParams?: string
  paramHidden?: string
  checkStrictly?: string
  paramPrefix?: string
  datasourceId?: string
}

export interface ProcedureOutParamTableData {
  tableData: ProcedureOutParamTableRow[]
  tablePage?: any
}
export interface ProcedureOutParamTableRow {
  paramName: string
  paramCode: string
  paramType: string
  paramDefault: string
}

export interface ProcedureInParamTableData {
  tableData: ProcedureInParamTableRow[]
  tablePage?: any
}
export interface ProcedureInParamTableRow {
  paramName: string
  paramCode: string
  paramType: string
  paramDefault: string
  paramHidden: string
  componentType: string
  selectType: string
  datasourceId: string
  isRelyOnParams: string
  checkStrictly: string
  selectContent: string
  dateFormat: string
}
